package net.maku.needy.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import net.maku.framework.common.utils.DateUtils;
import net.maku.needy.entity.NeedyMemberFamilyEntity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
* 困难职工
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-19
*/
@Data
@Schema(description = "困难职工")
public class NeedyMemberVO implements Serializable {
	private static final long serialVersionUID = 1L;

	@Schema(description = "id")
	private Long id;

	@Schema(description = "会员ID")
	private Long memberId;

	@Schema(description = "个人月平均收入")
	private BigDecimal personalAvgIncome;

	@Schema(description = "家庭年收入")
	private BigDecimal familyTotalIncome;

	@Schema(description = "家庭人口")
	private Integer familyPopulation;

	@Schema(description = "补助理由")
	private String subsidyReason;

	@Schema(description = "其他信息备注")
	private String remark;

	@Schema(description = "附件")
	private String attachment;

	@Schema(description = "致困原因")
	private String difficultyReason;

	@Schema(description = "困难类型")
	private Integer difficultyType;

	@Schema(description = "健康状况")
	private String healthStatus;

	@Schema(description = "残疾类别")
	private String disabilityType;

	@Schema(description = "劳模类别")
	private String modelWorkerType;

	@Schema(description = "身份")
	private String identity;

	@Schema(description = "住房类型")
	private String housingType;

	@Schema(description = "建筑面积")
	private String buildingArea;

	@Schema(description = "工作年限")
	private String workExperience;

	@Schema(description = "家庭住址")
	private String address;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createTime;

	@Schema(description = "家庭人均收入")
	private BigDecimal familyPerIncome;

	@Schema(description = "家庭成员关系")
	private List<NeedyMemberFamilyEntity> memberFamilyList;

	private String avatar;
	private String realName;
	private Integer gender;
	private String orgName;
	@JsonFormat(pattern = DateUtils.DATE_PATTERN)
	private Date birthday;


}